package designMode.observerPattern_api;


import java.util.Observable;

/**
 * @ClassName Test
 * @Description
 * @Author LIBOFEI
 * @Date 2020/6/15 09:21
 * @Version 1.0
 **/
public class Test {

    public static void main(String[] args) {

        WeatherData weatherData = new WeatherData();
        CurrentConditionsDisplay conditionsDisplay = new CurrentConditionsDisplay(weatherData);
//        weatherData.deleteObserver(conditionsDisplay);
        weatherData.setMeasurements(1,2,4);
    }
}
